package com.gxar.quick.ar.server.base.model.user.mapper;

import com.gxar.quick.ar.server.base.model.user.vo.response.FeedbackListResponse;
import com.gxar.quick.ar.server.db.model.FeedbackEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/4 16:33
 */
@Mapper
public interface FeedbackMapStruct {

    FeedbackMapStruct INSTANCE = Mappers.getMapper(FeedbackMapStruct.class);

    FeedbackListResponse entityToListResponse(FeedbackEntity entity);

    List<FeedbackListResponse> entitiesToListResponses(List<FeedbackEntity> feedbackEntities);
}
